import request from '@/utils/request'
//条件加分页
export function search(data) {
  return request({
    url: '/copy/search',
    method: 'post',
    data
  })
}
//批零删除
export function delSelect(data) {
  return request({
    url: '/copy/delSelect',
    method: 'post',
    data
  })
}
//单个删除
export function delOne(data) {
  return request({
    url: '/copy/delOne',
    method: 'post',
    data
  })
}
//修改
export function addOrUpdate(data) {
  return request({
    url: '/copy/addOrUpdate',
    method: 'post',
    data
  })
}
//查询商品名
export function findGoods(data) {
  return request({
    url: '/goods/findByCustomerId',
    method: 'post',
    data
  })
}
